package com.itcoon.transform4j.demo.web.vo;

import com.itcoon.transform.base.annotation.AssembleModel;
import com.itcoon.transform.base.annotation.AssembleModelProperty;
import com.itcoon.transform4j.demo.domain.Order;
import com.itcoon.transform4j.demo.domain.Status;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AssembleModel(from = Order.class)
public class OrderVCO {

    @AssembleModelProperty
    private BigDecimal amount;

    @AssembleModelProperty
    private List<Status> statuses;

    @AssembleModelProperty
    private LocalDateTime payTime;

}
